package utils

/**
  身份证手机号填充
  author Bill
*/

func SignIdCard(idCard string) string {
	cp := idCard
	length := len(cp)
	return cp[0:4] + " **** **** " + cp[length-4:]
}

func SignMobile(mobile string) string {
	cp := mobile
	length := len(cp)
	return cp[0:3] + " **** " + cp[length-4:]
}
